package com.handsome.工厂模式.简单工厂模式.简单工厂模式写法2.pizza;

/**
 * @author niechun
 * @date 2023/1/8 16:11
 */
public class GreekPizza  extends Pizza {

    public GreekPizza(String name) {
        super.name = name;
    }
    @Override
    public void prepare() {
        System.out.println("准备希腊披萨所需要的材料");
    }
}
